<html>
<body>
<?php 

//echo $_SERVER['QUERY_STRING'];
//print_r($_GET);

//https://www.sandbox.paypal.com/cgi-bin/webscr
?>
<form action="https://www.sandbox.paypal.com/cgi-bin/webscr" name="paypal_form" method="post">
    <input type="hidden" name="cmd" value="_xclick">
    <input type="hidden" name="business" value="tlocalhost-facilitator@gmail.com">
    <input type="hidden" name="item_name" id="item_name" value="Memorex 256MB Memory Stick">
    <input type="hidden" name="item_number" value="MEM32507725">
    <input type="hidden" name="amount" value="1.03">
    <!--<input type="hidden" name="tax" value="1">-->
    <input type="hidden" name="quantity" value="1">
    <input type="hidden" name="no_note" value="1">
    <input type="hidden" name="currency_code" value="EUR">
    <!-- Enable override of payer's stored PayPal address -->
    <input type="hidden" name="address_override" value="1">
    <input type="hidden" name="notify_url" value="http://www.datyy.de/paypal/ipnlistener.php">
    <input type="hidden" name="return" value="http://www.datyy.de/paypal/paymentSuccess.php">
    <input type="hidden" name="cancel_return" value="http://www.datyy.de/paypal/cancel.php">
    <!--
    <input type="image" name="submit" border="0" src="https://www.paypal.com/en_US/i/btn/btn_buynow_LG.gif" alt="PayPal - The safer, easier way to pay online">
    -->
    <a href="javascript:paypal_submit();" ><img src="https://www.paypal.com/en_US/i/btn/btn_buynow_LG.gif" /></a>
</form>

  <script type="text/javascript">
  
  function paypal_submit()
  {
    document.getElementById('item_name').value="pcket_s";
    document.paypal_form.submit()
  }
  
  </script>
  
  
</body>
</html>